<template>
  <div class="home">
    <h1>home</h1>
    <el-button @click="$utils.jump('/practice/jump')">
      最佳实践
    </el-button>
    <el-button type="primary" @click="test">
      test
    </el-button>
  </div>
</template>

<script>
// import pageMixin from '../mixins/pageMixin'
console.log(this)
export default {
  data: () => ({}),
  async created () {
    this.mixins = [this.$pageMixin]
    console.log('11', this.$pageMixin)
    // console.log('22', pageMixin)
    console.log('33', this)
    // this.getCampusOptions()
    // console.log(this, this.options)
    // const response = await this.$api.test.list()
    // console.log(response)

    // const arr = [{ x: '08:00', y: 5, type: '出' }, { x: '08:00', y: 8, type: '入' }, { x: '08:10', y: 5, type: '出' }, { x: '08:10', y: 2, type: '入' }]
    // console.log(this.$utils.parseChartData(arr))

    // setInterval(() => {
    //   this.adap()
    // }, 100)
  },
  methods: {
    test () {
      console.log(11111111)
    }
  }
}
</script>
